package com.yunc.modules.deploy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 部署记录表
 *
 * @author concong tao
 * @since 2020-03-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@NoArgsConstructor
@TableName("deploy_history")
public class DeployHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private String id;

    /**
     * 应用名称
     */
    private String appName;

    /**
     * 部署
     */
    private String ip;

    /**
     * 部署时间
     */
    private Date deployDate;

    /**
     * 部署人员
     */
    private String deployUser;

    /**
     * 部署编号
     */
    private String deployId;
}
